local dubi = fk.CreateSkill{
  name = "pegasus__dubi",
  tags = { Skill.Compulsory }
}

Fk:loadTranslationTable{
  ["pegasus__dubi"] = "独笔",
  [":pegasus__dubi"] = "锁定技，若你仅有此技能，你使用牌无距离次数限制。",
}

dubi:addEffect("targetmod", {
  bypass_distances = function (self, player)
    return player:hasSkill(dubi.name) and #player.player_skills == 1
  end,
  bypass_times = function (self, player, skill, scope, card, to)
    return player:hasSkill(dubi.name) and #player.player_skills == 1
  end,
})

return dubi